package com.example.studentmanagement.service;

import com.example.studentmanagement.entity.User;

import java.util.List;

public interface UserService {

    User getUserById(Integer id);

    User getUserByUsername(String username);

    List<User> getAllUsers();

    void createUser(User user);

    void updateUser(User user);

    void deleteUser(Integer id);

    User authenticateUser(String username, String password);

}
